package com.cskaoyan.bean.storage.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@Data
public class CreateStorageVo {

    /**
     * id : 389
     * key : 0r507zdi4352jzs6s7td.jpg
     * name : gua.jpg
     * type : image/jpeg
     * size : 98454
     * url : http://182.92.235.201:8083/wx/storage/fetch/0r507zdi4352jzs6s7td.jpg
     * addTime : 2021-06-06 11:55:10
     * updateTime : 2021-06-06 11:55:10
     */

    private int id;
    private String key;
    private String name;
    private String type;
    private int size;
    private String url;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
